﻿using System;
using Autodesk.Revit.DB;

namespace YJKOpeningCreate.Public
{
	public class MyFamilyLoadOptions : IFamilyLoadOptions
	{
		bool IFamilyLoadOptions.OnFamilyFound(bool familyInUse, out bool overwriteParameterValues)
		{
			overwriteParameterValues = true;
			return true;
		}

		bool IFamilyLoadOptions.OnSharedFamilyFound(Family sharedFamily, bool familyInUse, out FamilySource source, out bool overwriteParameterValues)
		{
			source = 0;
			overwriteParameterValues = true;
			return true;
		}
	}
}
